//package com.cat.ai.example;
//
//import ai.spring.demo.ai.playground.services.CustomerSupportAssistant;
//import org.springframework.http.MediaType;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//import reactor.core.publisher.Flux;
//
//
//@RequestMapping("/api/assistant")
//@RestController
//public class AssistantController {
//
//	private final CustomerSupportAssistant agent;
//
//	public AssistantController(CustomerSupportAssistant agent) {
//		this.agent = agent;
//	}
//
//	@RequestMapping(path="/chat", produces = MediaType.TEXT_EVENT_STREAM_VALUE)
//	public Flux<String> chat(String chatId, String userMessage) {
//		return agent.chat(chatId, userMessage);
//	}
//
//}